﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: AdminRolesEntity.cs
// 修改时间：2020-9-8 10:39:54
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：AdminRoles 的实体类.
	/// </summary>
	[Table("AdminRoles")]
	public partial class AdminRolesEntity
	{
		#region Properties
		private int? _adminID = 0;
		/// <summary>
		/// 管理员ID(主键)
		/// </summary>
		[Column("AdminID",TypeName="int")]
		[Key]
		public int? AdminID
		{
			get {return _adminID;}
			set {_adminID = value;}
		}
		
		private int? _roleID = 0;
		/// <summary>
		/// 角色ID(主键)
		/// </summary>
		[Column("RoleID",TypeName="int")]
		[Key]
		public int? RoleID
		{
			get {return _roleID;}
			set {_roleID = value;}
		}
		
		#endregion
	}
}
